﻿namespace Algo.Demo
{
    using System.Collections.Generic;

    internal class Int32EqualityComparer : IComparer<int>
    {
        public static readonly IComparer<int> Instance = new Int32EqualityComparer();

        public int Compare(int x, int y)
        {
            return x - y;
        }
    }
}
